<?php
require_once('../lib/user_prefs.php');
require_once('../lib/config.php');
require_once('../lib/whatsit.class.php');

$here = array();

$user = new $whatsit_user_class();
$whatsit_username = $user->getUserName();
$db = new $whatsit_database_class($whatsit_username);

$here['panes'] = array();
foreach ($whatsit_pane_names as $pn) {
    $here['panes'][] = $db->getWhatsits($pn);
}

include("../templates/panes.tpl.php");